<!DOCTYPE html>
<html lang="zh">
<head>
	<title>搜索 - PublicCMS</title>
	<meta name="keywords" content="搜索"/>
	<meta name="description" content="搜索  ${word!}"/>
	<#include "include_page/header.html"/>
</head>
<body>
<!--#include virtual="/include/nav.html"-->
<main>
	<div class="container bread">
		<a href="${getSitePath()}">首页</a>
	</div>
	<div class="container">
		<div class="data-list left-content">
			<div class="search">
				<form action="search.html" method="get">
					<input type="text" name="word" value="${word!}"/>
					<input type="submit" value="搜索"/>
					<a href="facetSearch.html">高级搜索</a>
				</form>
			</div>
<#if word?has_content>
		<@_search word=word pageIndex=page count=10>
			<#assign prePath='search.html?word='+(word?url)!''+'&'/>
			<#include "ftl/meger.ftl"/>
			<#list page.list as a>
				<@meger 'modelIds' a.modelId!/>
			</#list>
			<@_model ids=modelIds!><#assign modelMap=map/></@_model>
			<#list page.list as a>
				<#if modelMap[a.modelId?string].isImages>
					<#include "include_page/image-list.html"/>
				<#else>
					<#include "include_page/data-list.html"/>
				</#if>
			</#list>
			<#include "include_page/search_page.html"/>
		</@_search>
</#if>
		</div>
		<aside>
			<!--#include virtual="/include/category/list.html/1.html"--><#-- 右侧编辑推荐 -->
		</aside>
	</div>
</main>
<#include "include_page/footer.html"/>
</body>
</html>